import request from '@/utils/request'

/**获取指定区域的GeoJSON格式数据*/
export function getGeojsonApi(code: string): PromiseResponseResult<any> {
    // return request.get(`/${code}.json`)
    return request.get(`https://geo.datav.aliyun.com/areas_v3/bound/${code}.json`)
}
